package br.com.sistema.smallAgro.enums;

import java.util.Arrays;
import java.util.List;

public enum SimNao {

	S('S', "Ativo"), N('N', "Inativo");

	private String descricao;
	private char caracter;

	SimNao(char caracter, String descricao) {
		this.caracter = caracter;
		this.descricao = descricao;
	}

	public String getDescricao() {
		return descricao;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}

	public static List<? extends Object> valores() {
		return Arrays.asList(S.descricao, N.descricao);
	}

	public char getCaracter() {
		return caracter;
	}

	public void setCaracter(char caracter) {
		this.caracter = caracter;
	}
}
